<template>
  <div style="padding-left:30px;">
    测试 v-model <br />
    <input type="text" :value="value" @input="changeValue" />
  </div>
</template>

<script>
export default {
  name: 'TestVModel',
  data() {
    return {
      value: ''
    }
  },
  methods: {
    changeValue(e) {
      this.value = e.target.value
    }
  }
}
</script>
